<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"></meta>
<title>购物车</title>
	<link rel="stylesheet" type="text/css" href="/css/index.css" />
	<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
	<script type="text/javascript">
		//用于用户中心左边菜单栏的选择项的样式
		function setSelectedClass(url){
			$('div.cont ul.list li a[href~="'+url+'"]').parent().addClass("current");
		}
		$(function(){
			$('.mycart').hover(
					function(){
						$('#div_mycart').show('slow');
					},
					function(){
						$('#div_mycart').hide('slow');
					}
			);
		});
		$(function() {
			$('.allsort').hover(function() {
				$('#div_allsort').show();
			}, function() {
				$('#div_allsort').hide();
			});
		});

	</script>
</head>
<body class="index">
	<div class="container">
		<div class="header">
			<h1 class="logo">
				<a title="" style="background:url(images/logo.png);" href="/">电子商务平台</a>
			</h1>
			<ul class="shortcut">
				<li class="first"><a href="ucenter">我的账户</a></li>
				<li><a href="ucenter/order">我的订单</a></li>
				<li class='last'><a href="">使用帮助</a></li>
			</ul>
			<p class="loginfo">
				<c:if test="${not empty sessionScope.user}">
					${user.account}您好，欢迎您来到${site}购物！[<a href="/logout" class="reg">安全退出</a>]
				</c:if>
				<c:if test="${empty sessionScope.user}">
					[<a href="/login">登录</a>
					<a class="reg" href="/register">免费注册</a>]
				</c:if>
			</p>
		</div>
		<div class="navbar">
			<ul>
				<li><a href="">首页</a></li>
			</ul>
			<div class="mycart">
				<dl>
					<dt>
						<a href="cart.jsp">购物车<b name="mycart_count">0</b>件
						</a>
					</dt>
					<dd>
						<a href="cart.jsp">去结算</a>
					</dd>
				</dl>



			</div>
		</div>
		<div class="searchbar">
			<div class="allsort">
				<a href="javascript:void(0);">全部商品分类</a>

				<!--总的商品分类-开始-->
				<ul class="sortlist" id='div_allsort' style='display:none'>



						<li>
							<h2>
								<a href ="">数码家电</a>
							</h2>
						</li>
					<li>
						<h2>
							<a href ="">衣服首饰</a>
						</h2>
					</li>
					<li>
						<h2>
							<a href ="">零食</a>
						</h2>
					</li>
				</ul>
			</div>

			<div class="searchbox">
				<form method='get' action=''>
					<input type='hidden' name='controller' value='site' /> <input
						type='hidden' name='action' value='search_list' /> <input
						class="text" type="text" name='word' autocomplete="off"
						value="输入关键字..." /> <input class="btn" type="submit" value="商品搜索"
														onclick="checkInput('word','输入关键字...');" />
				</form>

			</div>
			<div class="hotwords">热门搜索：</div>
		</div>

		<div class="wrapper clearfix">
			<div class="wrap_box">
				<div class="error box clearfix">
					<table class="form_table prompt_3">
						<colgroup>
							<col width="320px" />
							<col />
						</colgroup>

						<tbody>
							<tr>
								<th><img src="images/front/right.gif" width="48px"
									height="51px" /></th>
								<td><strong class="f14"> 支付成功 </strong></td>
							</tr>

							<tr>
								<th></th>
								<td>您现在可以去： <a class="blue" href="usercenter">个人中心 >></a> <a
									class="blue" href="">网站首页 >></a>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
<%--		<jsp:include page="help.jsp"></jsp:include>--%>
		<div class="footer">
			<p class="links">
				<a href="">关于我们</a>|<a href="">常见问题</a>|<a href="">安全交易</a>|<a href="">购买流程</a>|<a
					href="">如何付款</a>|<a href="">联系我们</a>|<a href="">合作提案</a>
			</p>
			Copyright 蜗牛学苑© 2015-2024 <a class="copyys" target="_blank" href="">蜀ICP备01000010号</a>
		</div>
	</div>
</body>
</html>
